<template>
  <div>
    <!-- ElementUI组件展示用户评论 -->
    <el-table :data="commentlist" style="width: 100%" height="250">
      <el-table-column fixed prop="uid" width="150"> </el-table-column>
      <el-table-column fixed prop="content" width="390"> </el-table-column>
    </el-table>
  </div>
</template>


 
<script>
export default {
  data() {
    return {};
  },
  mounted: function() {},
  methods: {},
  // 获取父组件参数
  props: ["commentlist"]
};
</script>
 
<style>
</style>